package client.comm.commlib.comm_ui.bean

import android.net.Uri
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
import java.io.Serializable

@Parcelize
data class Image(
    var id: Long = 0,
    var path: String? = "",
    var thumbPath: String? = "",
    var isSelect: Boolean = false,
    var folderName: String? = "",
    var name: String? = "",
    var date: Long? = 0,
    var imgUri: Uri? = null

) : Parcelable {
    override fun equals(o: Any?): Boolean {
        return if (o is Image) {
            path == (o).path
        } else false
    }
}